﻿#@homejs() 
#@checkToken2()
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<body align="center" bgcolor="#f4f5f9" style="margin:0px;">
<div align="center" >
	#@homemenu("account")

		<div id="contents" style="margin-top:20px;max-width:1060px;padding:20px;background:#FFF">
			
		</div>

</div>
#@homefoot1()
#@homefoot2() 
<script>
	var id = GetRequest()["id"];
	$.getJSON("#(path)/notice/info?id="+id, function(datainfo) {
		$("#contents").html(datainfo.data.contents);
	});
	function GetRequest() {   
	   var url = location.search; //获取url中"?"符后的字串  
	   var theRequest = new Object();  
	   if (url.indexOf("?") != -1) {  
		  var str = url.substr(1);  
		  strs = str.split("&");  
		  for(var i = 0; i < strs.length; i ++) {  
			 theRequest[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]);  
		  }  
	   }  
	   return theRequest;  
	}  
</script>
</body>